package com.android.universydroid.bean;

import com.android.universydroid.framework.BaseTO;
import com.android.universydroid.framework.Table;
import com.android.universydroid.framework.TableField;
import com.android.universydroid.framework.TableFieldType;

@Table(name="LIVRO")
public class TOLivro extends BaseTO {

	@TableField(name="CODIGO", type=TableFieldType.NUMBER, isPrimaryKey=true)
	public Integer Id = null;

	@TableField(name="CODIGO_TURMA", type=TableFieldType.NUMBER, isPrimaryKey=false)
	public String IdTurma = null;
	
	@TableField(name="TITULO", type=TableFieldType.TEXT, isPrimaryKey=false)
	public String Titulo = null;

	@TableField(name="AUTOR", type=TableFieldType.TEXT, isPrimaryKey=false)
	public String Autor = null;

	@TableField(name="EDITORA", type=TableFieldType.TEXT, isPrimaryKey=false)
	public String Editora = null;

	@TableField(name="ANO", type=TableFieldType.NUMBER, isPrimaryKey=false)
	public String Ano = null;

	@TableField(name="EDICAO", type=TableFieldType.NUMBER, isPrimaryKey=false)
	public String Edicao = null;	
}
